package com.rjpacket.MyUEnjoy;

import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.view.ViewPager;
import com.rjpacket.MyUEnjoy.adapters.LoginInAdapter;

public class MainActivity extends FragmentActivity {
    /**
     * Called when the activity is first created.
     */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        ViewPager pager = (ViewPager) findViewById(R.id.pager_in);
        pager.setAdapter(new LoginInAdapter(getSupportFragmentManager()));
    }
}
